package com.yc.cloud.admin.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
@Schema(description = "处理告警记录请求DTO")
public class AlarmRecordHandleReqDTO {

    @Schema(description = "处理状态: 2-已关闭, 3-误报", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "处理状态不能为空")
    private Byte status;

    @Schema(description = "处理结果描述")
    @Size(max = 255, message = "处理结果描述长度不能超过255个字符")
    private String handleResult;
}
